
package com.xbongbong.saas.domain.dao;

import com.xbongbong.saas.domain.entity.ext.ReimbursementFormEntityExt;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
 *
 * 创建时间 2020/3/11 3:45 PM
 * 修改时间 2020/3/11 3:45 PM
 * @author chy
 */
@Repository
@Mapper
public interface ReimbursementFormDao {


	Integer insert(ReimbursementFormEntityExt entity);

	List<ReimbursementFormEntityExt> findEntitys(@Param("param") Map<String, Object> param);

	ReimbursementFormEntityExt getByKey(@Param("key") Long key, @Param("corpid") String corpid);

	ReimbursementFormEntityExt getByFormDataCode(@Param("corpid") String corpid, @Param("serialNo") String serialNo);

	Integer getEntitysCount(@Param("param") Map<String, Object> param);

	Integer deleteByKey(@Param("key") Long key, @Param("corpid") String corpid);

	Integer update(ReimbursementFormEntityExt entity);
}